<%if @error_info.present?%>
   alert("<%= @error_info%>");
<%else%>
  $('#feed_<%= @feed.id %>').hide(1000, function(){
    $('#feed_<%= @feed.id %>').remove();
  });
  $('#new_feed_<%= @feed.order_item.id %>').html("<%= escape_javascript(render :partial => 'orders/feeds/new.html', :locals => {:order_item => @feed.order_item})%>");
  $('#finance_info').html("<%= escape_javascript(render :partial => 'orders/finance_infos/show.html', :locals => { :order => @feed.order_item.order })%>");
  $('#tr_<%= @feed.order_item.id %>').html("<%= escape_javascript(render :partial => 'orders/order_items/detail_in_index.html', :locals => { :index => @feed.order_item.index, :order_item => @feed.order_item, :order => @feed.order_item.order, :can_edit => true  }) %>");
<%end%>
